package com.egao.common.module.company.entity;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

/**
 * 双选会(Mutual)表实体类
 *
 * @author dl
 * @since 2021-02-24 13:52:35
 */
@SuppressWarnings("serial")
@ApiModel(description = "双选会")
@Data
@TableName("mutual")
public class Mutual implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty("主键编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty("举办场地")    
    private String fieldName;
    
    @ApiModelProperty("举办日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date startTime;
    
    @ApiModelProperty("截止报名日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endTime;
    
    @ApiModelProperty("举办时间段")    
    private String timeType;
    
    @ApiModelProperty("标题")    
    private String title;
    
    @ApiModelProperty("主办方")    
    private String companyName;
    
    @ApiModelProperty("双选会说明")    
    private String content;
    
    @ApiModelProperty("是否开放报名（1：否，0：是）")    
    private String openFlag;

    @ApiModelProperty("参会单位限制数量")
    private Integer companyNumber;

    @ApiModelProperty("点击量")
    private Integer hits;

    @ApiModelProperty("是否取消 0: 否 1：是")
    private Integer invalid;

    @ApiModelProperty("发布人")    
    private Integer createBy;
    
    @ApiModelProperty("添加时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;
    
    @ApiModelProperty("编辑时间")    
    private Date updateTime;
    
    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("附件集合")
    @TableField(exist = false)
    private List<Attachment> attachmentList;

    @ApiModelProperty("原始编号id")
    private String oldId;

    @ApiModelProperty("是否开启校企合作意愿 0是 1否")
    private String cooperation;

    @ApiModelProperty("校企合作意愿选项 ,隔开")
    private String cooperationOptions;

    @ApiModelProperty("是否开启参会 0是 1否")
    private String meeting;

    @ApiModelProperty("参会标题")
    private String meetingTitle;
}